package com.peng.rpc.common.client;

import com.peng.rpc.entity.RpcRequest;
import com.peng.rpc.serializer.CommonSerializer;

/**
 * @author Wonderson
 * @email wpp.ds@foxmail.com
 * @date 2022/2/28 22:08
 */
public interface RpcClient {

    int DEFAULT_SERIALIZER = CommonSerializer.KRYO_SERIALIZER;

    Object sendRequest(RpcRequest rpcRequest);

}
